package com.cy.pj.sys.dao;

import com.cy.pj.sys.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysBookDao {



    List<SysBookCategory> findPageObjects(@Param("name") String name);



    int insertObject(SysBook sysBook);


    SysBookCategory findObjectById(Integer id);

int updateObject(SysBook sysBook);


SysBook findBookByBookName(String name);
}
